package com.chinacoal.microservice.api.fallback;

import java.util.List;
import java.util.Map;

import javax.validation.Valid;

import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.api.UnionTaskMaintainClient;
import com.chinacoal.microservice.api.model.QueryUtaskParam;
import com.chinacoal.microservice.api.model.UtaskCompleteTaskParam;
import com.chinacoal.microservice.api.model.entity.UtaskInfoEntity;
import com.chinacoal.microservice.util.result.CodeMsg;
import com.chinacoal.microservice.util.result.Result;

@Component
public class UnionTaskMaintainClientFallback implements UnionTaskMaintainClient {

	@Override
	public Result<Object> addTask(@Valid UtaskInfoEntity utaskInfoEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Map<String, List<UtaskInfoEntity>>> battchTaskAdd(@Valid List<UtaskInfoEntity> utaskInfoList) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> updateTask(@Valid UtaskInfoEntity utaskInfoEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> updateAchTask(@Valid UtaskInfoEntity utaskInfoEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> battchUpdateTask(@Valid List<UtaskInfoEntity> utaskInfoList) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> completeTask(@Valid UtaskCompleteTaskParam param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Map<String, List<String>>> battchCompleteTask(@Valid List<UtaskCompleteTaskParam> paramList) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> cancelTask(@Valid UtaskCompleteTaskParam param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> cancelAchTask(@Valid UtaskCompleteTaskParam param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Map<String, List<String>>> battchCancelTask(@Valid List<UtaskCompleteTaskParam> paramList) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> updateTaskState(String sysCode, String sysTaskId, String state) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<UtaskInfoEntity> getTask(String sysCode, String sysTaskId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Page<UtaskInfoEntity>> getTaskInfoList(@Valid QueryUtaskParam param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> getTaskInfoListNum(@Valid QueryUtaskParam param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> selectTaskCountList(@Valid QueryUtaskParam param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> getTaskState(String sysCode, String sysTaskId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> collectTask(String userCode, String taskId, String sysCodeFrom, String flag) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}
}
